<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/pintuer.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/admin.css">
<script src="${pageContext.request.contextPath}/js/jquery.js"></script>
<script src="${pageContext.request.contextPath}/js/pintuer.js"></script>
</head>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  String name = request.getParameter("id");//用request得到
%>
<script type="text/javascript">
  function managerUpdate() {
    if(confirm("您确定要修改这个店家的信息吗？")) {
      console.log("=》进入了js")

    }
  }

  $(document).ready(function(){
    $("ul li:eq(1)").addClass("active");
  });
</script>
<body>
<div class="panel admin-panel">
  <div class="panel-head"><strong><span class="icon-key"></span> 修改店家账户信息</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="${pageContext.request.contextPath}/manager?action=update&UpmanagerId=${param.id}">
      <div class="form-group">
        <div class="label">
          <label   for="sitename">原账户编号：</label>
        </div>
        <div class="field">
          <input type="text" value="${param.id}" class="input w50" id="mpass" name="" size="50"   />
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label for="sitename">顾客编号：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" id="managerId" name="managerId" size="50" placeholder="请输入新账户名"  />
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label for="sitename">顾客账户：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" id="manager_account" name="manager_account" size="50" placeholder="请输入新账户名"   />
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label for="sitename">顾客密码：</label>
        </div>
        <div class="field">
          <input type="text"   class="input w50" name="manager_password" size="50" placeholder="请输入新密码" data-validate="required:请输入新密码,length#>=5:新密码不能小于5位" />
        </div>
      </div>


      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit" onclick="managerUpdate()"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>
</body></html>
